﻿@model List<ZhongheCms.Models.GswTblBaseInfo>
@{

    int menuId = 1;
    int menus = 0;
    string myclass = "";
}
  <div class="menu fl">
                <h2>热门职位</h2>
      <ul class="menu_list db">
          @foreach (var item in Model)
          {
              myclass = "level" + menuId;
              <li class="@myclass">
                  <h3>
                      <i class="gIcon">@menuId </i>
                      <a href="/SunJob/JobList/0?p1=@item.Id">@item.MasterType</a>
                  </h3>
                  <div class="sort_info fix">
                      <a href="/SunJob/JobList/0?p1=@item.Id">@Html.Raw(item.Remark)</a>
                      @* @if (item.ProSubTypes == null)
                      {
                          <a target="" href="/Home/Index">...</a>
                      }
                      else
                      {
                          menus = 0;
                          foreach (var subitem in item.ProSubTypes)
                          {
                              <a target="_blank" href="/SunJob/JobList/0?type=@item.MasterType&stype=@subitem.SubType">@subitem.SubType</a>
                              menus++;
                              if (menus <= 1)
                              {
                                  continue;
                              }
                              break;
                          }
                      }*@
                       
                  </div>

              </li>
              menuId++;
              if (menuId <= 7)
              {
                  continue;
              }
              break;
          }
        
     

      </ul>
            </div>
